package com.lam.system.param;

import javax.validation.constraints.NotBlank;

import com.lam.common.base.domain.BaseParam;
import com.lam.common.validate.group.Add;

/**
 * 用户角色对象 sys_user_role
 * 
 * @author admin
 * @date 2022-09-01
 */
public class SysUserRoleParam extends BaseParam{

    /** 用户id */
	@NotBlank(message = "用户id不能为空", groups = {Add.class})
    private String userId;
    
    /** 角色id */
	@NotBlank(message = "角色id不能为空", groups = {Add.class})
    private String roleId;
    
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }  
    
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleId() {
        return roleId;
    }  
    

}
